﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace GrayParrot.Web.Formly
{
    /// <summary>
    /// The Radio Template Options Attribute...
    /// </summary>
    public class RadioTemplateOptionsAttribute : OptionsTemplateOptionsAttribute
    {
        /// <summary>
        /// Gets or sets the default value.
        /// </summary>
        /// <value>
        /// The default value.
        /// </value>
        /// <remarks>
        /// This is the value of the default radio element selected...
        /// </remarks>
        [JsonProperty(PropertyName = "defaultValue", DefaultValueHandling = DefaultValueHandling.Ignore)]
        public string DefaultValue { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="RadioTemplateOptionsAttribute"/> class.
        /// </summary>
        public RadioTemplateOptionsAttribute()
        {

        }
    }
}
